WCPay\Payment_Methods\UPE_Payment_Method A

Total Complexity 63
Dependencies 4
Dependents 2
Total lines 450
Lines of code 174
Logical lines of code 95
Comment lines 212
Methods 22
Properties 12

Methods 22

Method Rating Maintainability Complexity Lines of code
is_enabled_at_checkout()
B
44 19 40
get_currency()
S
62 4 11
is_currency_valid()
S
63 4 10
get_countries()
S
71 3 5
get_payment_method_icon_for_location()
S
67 3 7
get_dark_icon()
S
70 3 6
get_icon()
S
70 3 6
__construct()
S
60 2 13
get_testing_instructions()
S
71 2 6
get_id()
S
71 2 6
get_title()
S
71 2 6
get_description()
S
71 2 6
get_settings_label()
S
71 2 6
get_settings_icon_url()
S
71 2 6
allows_manual_capture()
S
71 2 6
get_stripe_key()
S
70 2 6
get_payment_method_information_object()
S
60 1 13
is_bnpl()
S
82 1 3
is_reusable()
S
82 1 3
get_payment_token_for_user()
S
79 1 3
has_domestic_transactions_restrictions()
S
82 1 3
get_currencies()
S
82 1 3